const schedule = require('node-schedule');
const StatisticalTableDataCon = require('../controller/StatisticalTableData/StatisticalTableDataCon')

class StatisticalTableDataTimer {
    AddData() {
        schedule.scheduleJob('0 30 23 * * *', function () {
            StatisticalTableDataCon.addData()
        });
    }

}


module.exports = new StatisticalTableDataTimer()
